class JiSuanQi:
    def __init__(self,fuhao="+"):
        self.fuhao=fuhao
    def jisuan(self,a,b):
        if self.fuhao=="+":
            return a+b
        elif self.fuhao=="-":
            return a-b
        elif self.fuhao=="*":
            return a*b
        else:
            return a / b
a=JiSuanQi("*")
print(a.jisuan(1, 2))



















